/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.rw.entity;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.Office;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 检查任务Entity
 * @author lrz
 * @version 2016-12-21
 */
public class DrRw extends DataEntity<DrRw> {
	
	private static final long serialVersionUID = 1L;
	private String jhId;		// 计划ID
	private String sxId;		// 事项ID
	private String rwMc;		// 任务名称
	private String rwFdsx;		// 法定事项
	private Office officeZd;		// 制定部门
	private String rwFlag;		// 状态
	
	private String jgId;	//结果ID
	private String sxMc;
	private String ryMcs;
	private String dxMcs;
	
	public String getJgId() {
		return jgId;
	}

	public void setJgId(String jgId) {
		this.jgId = jgId;
	}

	public String getRyMcs() {
		return ryMcs;
	}

	public void setRyMcs(String ryMcs) {
		this.ryMcs = ryMcs;
	}

	public String getDxMcs() {
		return dxMcs;
	}

	public void setDxMcs(String dxMcs) {
		this.dxMcs = dxMcs;
	}

	public String getSxMc() {
		return sxMc;
	}

	public void setSxMc(String sxMc) {
		this.sxMc = sxMc;
	}

	public DrRw() {
		super();
	}

	public DrRw(String id){
		super(id);
	}

	@Length(min=0, max=64, message="计划ID长度必须介于 0 和 64 之间")
	public String getJhId() {
		return jhId;
	}

	public void setJhId(String jhId) {
		this.jhId = jhId;
	}
	
	@Length(min=0, max=64, message="事项ID长度必须介于 0 和 64 之间")
	public String getSxId() {
		return sxId;
	}

	public void setSxId(String sxId) {
		this.sxId = sxId;
	}
	
	@Length(min=0, max=255, message="任务名称长度必须介于 0 和 255 之间")
	public String getRwMc() {
		return rwMc;
	}

	public void setRwMc(String rwMc) {
		this.rwMc = rwMc;
	}
	
	@Length(min=0, max=10, message="法定事项长度必须介于 0 和 10 之间")
	public String getRwFdsx() {
		return rwFdsx;
	}

	public void setRwFdsx(String rwFdsx) {
		this.rwFdsx = rwFdsx;
	}
	
	public Office getOfficeZd() {
		return officeZd;
	}

	public void setOfficeZd(Office officeZd) {
		this.officeZd = officeZd;
	}
	
	@Length(min=0, max=2, message="状态长度必须介于 0 和 2 之间")
	public String getRwFlag() {
		return rwFlag;
	}

	public void setRwFlag(String rwFlag) {
		this.rwFlag = rwFlag;
	}
	
}